function loadFriends() {
    	 alert("Friends Loaded") ;
         var req = opensocial.newDataRequest();
    	 req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER), 'viewer');
    	 var viewerFriends = opensocial.newIdSpec({ "userId" : "VIEWER", "groupId" : "FRIENDS" });
    	 var opt_params = {};
    	 opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100;
    	 req.add(req.newFetchPeopleRequest(viewerFriends, opt_params), 'viewerFriends');
    	 req.send(onLoadFriends);
    	}
     function onLoadFriends(data) {
    	 alert("Making DOM Changes" + data) ; 
    	 var viewer = data.get('viewer').getData();
    	 var viewerFriends = data.get('viewerFriends').getData();
    	 //html = new Array();
    	 //html.push('<ul>');
    	 var friendHtml = new Array() ;
         //var friend-list = Ext.get('friend-list') ;  
    	 viewerFriends.each(function(person) {
    	   if (person.getId()) {
    		   friendHtml.push({tag:'li' , id:person.getId() , html:person.getDisplayName()}) ;
    		   alert(friendHtml.length); 
    	   }
    	  });
    	 var dh = Ext.DomHelper;
    	 alert(friendHtml) ; 
    	 dh.append('friend-list', friendHtml);  
    	}